package mapper;

import bean.RoomBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IRoomMapper {
    public void add(RoomBean room);

    public void del(Integer id);

    public void update(@Param("rid") Integer id,@Param("rprice") Integer price);

    public List<RoomBean> findAll();

    public RoomBean findById(Integer id);
}
